package com.repair.service.FaultLeibie;

import java.util.List;

import com.repair.dao.fualtleibie.IFaultLeibieDao;
import com.repair.domain.FaultLeibie;
import com.repair.factory.DaoFactory;


public class FaultLeibieService {
	private IFaultLeibieDao dao = (IFaultLeibieDao)DaoFactory.getInstance().getDao("faultLeibieDao");
	
	
	public void save(FaultLeibie obj){
		this.dao.saveFaultLeibie(obj);
	}
	public  List<FaultLeibie> list(){
		return this.dao.getAllFaultLeibie();
	}
	public void delete(FaultLeibie obj){
		this.dao.deleteFaultLeibie(obj);
	}
}
